package cc.lj.internal.merchant.domain.brand.model.vo.convert;

import cc.lj.internal.merchant.domain.brand.model.vo.MerchantBrandDO;
import cc.lj.internal.merchant.infrastructure.po.MerchantBrandPO;
import cc.lj.internal.merchant.infrastructure.po.MerchantBrandRelationPO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

/**
 * 商户品牌表PO 与 DO之间的转换
 * @author liangxifeng
 * @date 2022-07-06
 */
@Mapper
public interface MerchantBrandPOConvertDO {
    MerchantBrandPOConvertDO INSTANCE = Mappers.getMapper(MerchantBrandPOConvertDO.class);

    MerchantBrandPO convert(MerchantBrandDO brandDO);

    MerchantBrandDO convert(MerchantBrandPO brandPO);

}
